/*
 * @version: 1.0
 * @Author: zhl
 * @Date: 2021-09-14 09:45:55
 * @LastEditors: zhl
 * @LastEditTime: 2021-09-14 09:54:32
 * @Description: 文件实现描述
 */
#ifndef __CHECK_CODE_H__
#define __CHECK_CODE_H__

#include <stdint.h>


#define PPPINITFCS16 0xffff /* Initial FCS value */
#define PPPGOODFCS16 0xf0b8 /* Good final FCS value */

#ifdef __cpluscplus
extern "C"{
#endif

extern uint16_t get_fcs16(uint16_t fcs, unsigned char *cp, int len);


#ifdef __cpluscplus
}
#endif







#endif /* __CHECK_CODE_H__ */